﻿using DataTransfer.SDK.Models;
using NPOI.SS.UserModel;
using System.Data;

namespace DataTransfer.SDK.Events
{
    /// <summary>
    /// 
    /// </summary>
    public class ExportExcelSheetEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="exportSheet"></param>
        /// <param name="sheet"></param>
        /// <param name="dataTable"></param>
        public ExportExcelSheetEventArgs(IExcelExportSheet exportSheet, ISheet sheet, DataTable dataTable)
        {
            this.ExportSheet = exportSheet;
            this.Sheet = sheet;
            this.DataTable = dataTable;
        }
        /// <summary>
        /// 
        /// </summary>
        public IExcelExportSheet ExportSheet { get; }
        /// <summary>
        /// 
        /// </summary>
        public ISheet Sheet { get; }
        /// <summary>
        /// 
        /// </summary>
        public DataTable DataTable { get; }
    }
}
